#!/usr/bin/env python

import string

alphas = string.ascii_letters + '_'
nums = string.digits

print('''Welcom to the Identifier Checker v1.0
Testees must be at least 2 chars long.
''')

myInput = input('Ideentifer to test? ')

if len(myInput) > 1:
    if myInput[0] not in alphas:
        print('''invalid: first symbol must be
alphabetic''')
    else:
        alphnums = alphas + nums
        for otherChar in myInput[1:]:
            if otherChar not in alphnums:
                print('''invalid: remaining 
symbols must be alphanumeric''')
                break
        else:
            print("okay as an indentifier")
